package cn.imokay.implementations;

/*
 * 线程的实现方式2:继承Thread实现对线程
 * */
public class ThreadStyle extends Thread {
    public static void main(String[] args) {
        new ThreadStyle().start();
    }

    @Override
    public void run() {
        System.out.println("继承Thread实现多线程");
    }
}
